import React from 'react'
import { RouterList } from './router'
import { useRoutes } from 'react-router-dom'
import ScrollToTopButton from './components/toTop/Index';
import './assets/icon/iconfont.css'
const App: React.FC = () => {
  const GetRouter = useRoutes(RouterList)
  return (
    <div>{GetRouter}
      <div style={{ zIndex: '1000' }}>
        {/* 这里放置大量内容以便滚动 */}
        <ScrollToTopButton />
      </div></div>
  )
}

export default App